export default {
  path: "/product",
  redirect: "/product/list",
  meta: {
    icon: "ri:apps-fill",
    // showLink: false,
    title: "产品管理",
    rank: 19
  },
  children: [
    {
      path: "/product/list",
      name: "lsit",
      component: () => import("@/views/product/index.vue"),
      meta: {
        title: "产品列表",
        roles: ["saleman", "admin"]
      }
    },
    {
      path: "/product/add",
      name: "addProduct",
      component: () => import("@/views/product/add.vue"),
      meta: {
        title: "添加产品",
        showLink: false,
        roles: ["customer", "admin"]
      }
    }
  ]
} satisfies RouteConfigsTable;
